<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="UTF-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<title>vue</title>
		<script src="https://cdn.jsdelivr.net/npm/vue@2"></script>
		<style>
			img {
				height: 200px;
			}
		</style>
	</head>
	<body>
		<div id="app">
			{{mywidth+50}}
			<img src="https://img.yituyu.com/gallery/2013/15_MW5eASBE.jpg!w1500" alt="">
			<img :src="myurl" v-bind:width="mywidth+40" alt="">
			<a :href="baidu"></a>
		</div>

		<script>
			new Vue({
				el: '#app',
				data() {
					return {
						mywidth: 100,
						myurl: 'https://img.yituyu.com/gallery/2013/15_MW5eASBE.jpg!w1500',
						baidu: "http://www.baidu.com"
					}
				}
			})
		</script>
	</body>
</html>
